package com.cskaoyan.bean.admin.system;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Classname AddAdminsBo
 * @Description
 * @Date 2021/8/12 19:54
 * @Created by songweinan
 */
@Data
public class AddAdminsBo {

    @Length(min = 6,max = 16,message = "管理员名称需要在6-16位之间")
    private String username;
    @Length(min = 6,max = 16,message = "管理员密码需要在6-16位之间")
    private String password;
    private String avatar;
    private Integer[] roleIds;
}
